
<template>
  <div class="login-container syNormal un-select">
    <div class="body fix-width">
      <div class="top">
        <logo class="logos" />
        <div class="desc">影创科技 - 中后台模板</div>
      </div>
      <div class="main">
        <login-pwd />
      </div>
      <div class="footer">
        <div class="desc" />
      </div>
    </div>
  </div>
</template>

<script>
import Logo from './components/logo'
import LoginPwd from './components/loginPwd'

export default {
  name : 'Login',
  components : { LoginPwd, Logo },
  data() {
    return {
      contents : '',
      logo : require( '@/assets/imgs/logo.png' )
    }
  },
  methods : {}
}
</script>

<style lang="scss" scoped>
  /*自定义tab*/
  .logos{
    text-align: center;
    margin: 30px 0 15px;
  }

  .login-container{
    width: 100%;
    min-height: 100%;
    padding: 160px 0 144px;
    position: relative;
    background-image: url('~@/assets/imgs/bgimg.svg');
  }
  .main {
    .title{
      font-size : 20px;
      text-align: center;
      font-weight:bold;
      color: #000;
    }
    .foot-link{
      text-align: center;
      .link-item{
        margin: 0;
        font-size: 12px;
        color:#1890ff;
      }
    }
  }
  .body {
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
    border-radius: 4px;
    border: 1px solid #e6ebf5;
    background-color: #fff;
    padding: 10px 30px;
  }
  .fix-width{
    min-width: 260px;
    width: 390px;
    margin: 0 auto;
  }
  .top {
    .header{
      position: relative;
      padding-top: 20px;
    }
  }
  .desc{
    text-align: center;
    font-size: 14px;
    color: rgba(0,0,0,.45);
    margin-top: 12px;
    margin-bottom: 40px;
  }

</style>
